﻿@model IEnumerable<FilStartUps_Mobile.FILAPI.Post>
@{
    ViewBag.Title = "LatestArticles";
}
<h2>
    LatestArticles</h2>
    <ul data-role="listview">
@{
    try
    {
        foreach (var item in Model)
        {
          <li>
            <img  width="150" height="150"  src="@Url.Action("GetPostImage", "Home", new { postid = item.postidPK })" alt="@item.posttitle" />
            <h3>@item.posttitle</h3>
          </li>
        }
    }
    catch
    {

    }
    
}
</ul>